-- GENERATED SPELL FOR [Chieftain Bloodmaw] --


function spell0_9462(pUnit, Event) --@Curse of the Deadwood,Heal--
pUnit:FullCastSpellOnTarget(13583,pUnit)
pUnit:RegisterEvent('Sorts_9462', 2000, 1)
end

function Sorts_9462(pUnit, Event)
local choix_sorts_9462 = math.random(0, 0)
if choix_sorts_9462 == 0 then
pUnit:RegisterEvent('spell0_9462', 1, 1)
end
end

function mob9462_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_9462', math.random(1500, 3000), 1)
end

function mob9462_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob9462_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob9462_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(9462, 1, 'mob9462_Action')
RegisterUnitEvent(9462, 2, 'mob9462_Leave')
RegisterUnitEvent(9462, 3, 'mob9462_Kill')
RegisterUnitEvent(9462, 4, 'mob9462_Die')
